home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / GRAHAM / XAAES_S.ZIP / XAAES / KERNAL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-29  |  683 b   |  36 lines

  1. /*
  2.  * XaAES - XaAES Ain't the AES
  3.  *
  4.  * A multitasking AES replacement for MiNT
  5.  *
  6.  */
  7.  
  8. /*
  9.     Kernal Message Handler
  10. */
  11.  
  12. #ifndef _KERNAL_H_
  13. #define _KERNAL_H_
  14. #include "K_DEFS.H"
  15. #include "XA_DEFS.H"
  16.  
  17. void kernal(void);
  18. void setup_k_function_table(void);
  19.  
  20. typedef unsigned long (*AESroutine)(short clnt_pid,AESPB*);        /* All AES command handers are of this type */
  21.  
  22. typedef struct {        /* Kernal command packet structure */
  23.     short pid;            /* client pid */
  24.     unsigned short cmd;    /* command code */
  25.     AESPB *pb;            /* pointer to AES parameter block */
  26. } K_CMD_PACKET;
  27.  
  28. typedef struct {
  29.     short mx;
  30.     short my;
  31.     short state;
  32.     short clicks;
  33. } MOUSE_DATA;
  34.  
  35. #endif
  36.